package com.bktech.elements;

public class SuggestionPage {
	public String feedId;
	public String title;
	public String iconUrl;
	public String subscribers;

	public SuggestionPage(String feedId, String title, String iconUrl,
			long subscribers) {
		this.feedId = feedId;
		this.iconUrl = iconUrl;
		this.title = title;
		if (subscribers > 999) {
			int count = (int) (subscribers / 1000);
			this.subscribers = count + "K" + " readers";
		} else {
			this.subscribers = subscribers + " readers";
		}
	}
}
